<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>"> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Index</title>
    <%@include file="../header.html" %>
        
</head>
<%String side_bar_page = basePath+"side_bar.jsp"; %>
<body >
    <div >
		<jsp:include page="../side_bar.jsp" flush="true"/> 
		<jsp:include page="../top_bar.jsp" flush="true"/> 

        </div>  
  <body>
    <form action="my_assettransfer_doAdd_success_assettransferMain.action" method="post" onSubmit="return Validator.Validate(this,3)">  
        <table width="500" align="center">  
            <caption align="right">发起移交</caption>  
            
            <tr>
            <td width="140" align="right">移交人</td>  
            <td width="350px">  
            <select name="assettransfer.senduserid.userid">
					   <option value="">
					   </option>
					   <c:forEach var="user" items="${users }" >
					   <option value=${user.userid }>${user.username }</option>
					   </c:forEach>
					  </select>
					  </td>
            </tr>
            <tr>
            <td width="160" align="right">移交日期</td> 
            <td width="350px">     
                    <input type="text"  name="assettransfer.transferstarttime" value="2016-05-26 10:23:30" dataType="Require" msg="输入不能为空"/>  
                </td>  
            </tr> 
           
            <tr><td width="140" align="right">接收人</td>  
                 <td width="350px">  
            <select name="assettransfer.acceptuserid.userid">
					   <option value="">
					   </option>
					   <c:forEach var="user" items="${users }" >
					   <option value=${user.userid }>${user.username }</option>
					   </c:forEach>
					  </select>
					  </td>
            </tr>  
            
              <tr height="26px">  
                <td width="160" align="right">移交类型</td>
                <td width="350px">  
                <select name="assettransfer.transfercatalog">
                			  <option value=""></option>
                              <option value="0">离职移交</option>
                              <option value="1">调职移交</option>
                     </select>

                 </td>
            </tr> 
            
            <tr height="26px">  
                <td colspan="2"  align="center" width="500">  
                    <input type="submit" value="移交" align="left" />  
                    
                    <input type="button" value="返回" onclick="window.history.back(-1)"/>  
                </td>  
            </tr>  
            </table>
            </form>
   
    <%@include file="../footer.html" %>
  </body>
</html>
